package com.urerp.web.controller;


import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@Controller
public class HomeController {

	private static final Logger logger = LogManager.getLogger(HomeController.class); 
	
	// 프로퍼티 파일 읽기
	@Value("#{code['member.pos']}") 	private String m_pos;
    @Value("#{code['member.status']}")	private String m_status;
    @Value("#{code['auth.level']}")		private String m_level;

	@RequestMapping(value = "/index", method = RequestMethod.GET)
    public String index(Model model) {
		
		logger.debug("RequestMapping : /index, Method : index");
		
        return "home/index";
        
	}
	 
}
